package com.cheer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cheer.dto.OaLearnClassAddDTO;
import com.cheer.entity.OaLearnClassEntity;
import com.cheer.entity.OptLogEntity;
import com.cheer.param.OptLogShowParam;
import com.cheer.vo.OptLogVO;

import java.util.List;

/**
 * 日志审核表-暂时只对机构操作开放
 *
 * @author chufangzheng
 * @email 1280251739@qq.com
 * @date 2022-03-08 10:00:27
 */
public interface OptLogService extends IService<OptLogEntity> {


    void insertLog(String action, String tableName, String keyWord, Long optId);


    IPage<OptLogVO> showLog(OptLogShowParam optLogShow);

    void saveBatchLog(String action, String tableName ,List<OaLearnClassEntity>  oaLearnClassAddDTOS);
}

